package servletTestTwo.dao;

import java.util.List;

import servletTestTwo.entity.Entity;

public interface DaoServletOne {
	boolean add(Entity userName);

	boolean delete(Long id);

	boolean update(Entity userName);

	List<Entity> listAll();
	
	Entity getById(Long id);
}
